//    Copyright (C) Kherty.  All rights reserved.
using System;
using OpenLS.Core.Serialization;

namespace OpenLS.Spreadsheet
{
    class MultiLevelStringData: IOfficeXmlSerializableAs
    {
        #region IOfficeXmlSerializable Members

        public void ReadXmlAs(string name, ReadContext context)
        {
            using (ReadContext c = context.Read("multiLvlStrCache"))
            {
                c.Eat("ptCount"); //\\not documented
                while (c.ReaderLocalName == "lvl")
                    c.EatForNow("lvl");
                c.Eat("extLst");
            }
        }

        public void WriteXmlAs(string name, WriteContext context)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
